import { _decorator, Component, Node, Vec3 } from 'cc';
import { Card } from '../../../game/src/scripts/Card';
const { ccclass, property } = _decorator;

export enum AnimType {
    NULL,
    WORLD_FLY_TO_SLOT,
    CRAFT_CARD,
    AUTO_ALIGN_CARDS
}

// 动画类
export class AnimMono {
    // 动画类型
    public type: AnimType = AnimType.NULL
}

// 卡牌从世界飞到卡槽的动画
export class WorldFlyToSlotAnim extends AnimMono {
    // 选择槽的卡牌
    public cards: Card[] = []
    // 各个点的定位
    public locs: Vec3[] = []
}
